package com.haole.ecommercepay.bill.service;

import com.alibaba.fastjson.JSONObject;
import com.haole.ecommercepay.bill.entity.FundFlowBillParam;
import com.haole.ecommercepay.bill.entity.TradeBillParam;

import javax.servlet.http.HttpServletResponse;

/**
 * @author haole
 */
public interface BillService {

    /**
     * 申请交易账单
     * @param param
     * @return
     */
    JSONObject tradeBill(TradeBillParam param);
    /**
     * 申请资金账单
     * @param param
     * @return
     */
    JSONObject fundFlowBill(FundFlowBillParam param);
    /**
     * 交易账单导出excel
     * @param type
     * @param param
     * @param response
     */
    void tradeBillExcel(String type, TradeBillParam param, HttpServletResponse response);
    /**
     * 资金账单导出excel
     * @param param
     * @param response
     */
    void fundFlowBillExcel(FundFlowBillParam param, HttpServletResponse response);
}
